export const direction = {
  E: "正东",
  ES: "东南",
  S: "正南",
  WS: "西南",
  W: "正西",
  WN: "西南",
  N: "正北",
  EN: "东北",
  CENTER: "中央"
};

export const familyLevel = {
  father: "父亲",
  mother: "母亲",
  son1: "长子",
  son2: "次子",
  son3: "三子",
  daughter1: "长女",
  daughter2: "次女",
  daughter3: "少女",
};

export const eachOther = {
  纯卦: {
    name: "纯卦",
    level: 6-1, //5
  },
  一世: {
    name: "一世",
    level: 1-1,
  },
  二世: {
    name: "二世",
    level: 2-1,
  },
  三世: {
    name: "三世",
    level: 3-1,
  },
  四世: {
    name: "四世",
    level: 4-1,
  },
  五世: {
    name: "五世",
    level: 5-1,
  },
  游魂: {
    name: "游魂",
    level: 4-1,
  },
  归魂: {
    name: "归魂",
    level: 3-1,
  },
};

export const fiveElements = {
  木: {
    name: "木",
    // icon: "🌳",
    icon: "shumu",
    direction: direction.E
  },
  火: {
    name: "火",
    // icon: "🔥",
    icon: "huoyan",
    direction: direction.S
  },
  土: {
    name: "土",
    // icon: "⛰️",
    icon: "shan",
    direction: direction.CENTER
  },
  金: {
    name: "金",
    // icon: "🪙",
    icon: "jinbi3",
    direction: direction.W
  },
  水: {
    name: "水",
    // icon: "💧",
    icon: "shuidi",
    direction: direction.N
  }
}

export const sixMembers = {
  兄弟: {
    name: "兄弟",
    offset: 0
  },
  子孙: {
    name: "子孙",
    offset: 1
  },
  妻财: {
    name: "妻财",
    offset: 2
  },
  官鬼: {
    name: "官鬼",
    offset: 3
  },
  父母: {
    name: "父母",
    offset: 4
  }
}



export const diagramElement = {
  天: {
    name: "天"
  },
  泽: {
    name: "泽"
  },
  火: {
    name: "火"
  },
  雷: {
    name: "雷"
  },
  风: {
    name: "风"
  },
  水: {
    name: "水"
  },
  山: {
    name: "山"
  },
  地: {
    name: "地"
  }
}